import {getRequest, postRequest} from "@/api/request";

export const doGetOrder = (condition)=>postRequest('/order/getOrder',condition);

export const doCreateOrder = (order)=>postRequest('/order/addOrder',order);

export const doUpdateOrder = (id)=>getRequest('/order/updateOrderStatus',{id})